package com.leen.aspect.annon;

import com.leen.aspect.logdb.ModuleEnum;
import com.leen.aspect.logdb.OperationEnum;

import java.lang.annotation.*;

/**
 * 需要写入到数据库日志注解
 * @author wy
 */
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface LogDB {

    /**
     * 操作模块
     * @return
     */
    ModuleEnum module()   ;

    /**
     * 操作方式
     * @return
     */
    OperationEnum operation();


}
